(function($){
iB=function(){
	$(".post img").each(
		function(){
			var imB = $(this).attr("src").replace(/s[0-9][0-9][0-9]?[0-9]/,"s1600");
			$(this).click(function(e){
         e.preventDefault();
           $("<div class='wC' style='text-align:center;border:3px solid orange;overflow:visible'><div class='cX' style='position:absolute;cursor:no-drop;margin:-13px -21px'><img src='https://lh6.googleusercontent.com/-DQv2gM8YgVQ/TpY6qGSv6GI/AAAAAAAAJbw/y4-39DCRGJU/s100/x.png'/></div><a href='"+imB+"'><img src='"+imB+"'/></a></div>").dialog({modal:"true","width": "auto","show":{effect:"fold",duration:600}});
				$(".ui-dialog-titlebar").hide();
				$(".ui-widget-overlay,.cX").click(function(){
					$(".wC").dialog("destroy");
				});
			});
		}
	);
}
})(jQuery);
